<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::dm::flyweight&lt; idType &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">dm</a></li><li class="navelem"><a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">flyweight</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="../../df/d92/classwheels_1_1dm_1_1flyweight-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::dm::flyweight&lt; idType &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a>&gt;</code></p>
<div class="dynheader">
wheels::dm::flyweight&lt; idType &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/de1/classwheels_1_1dm_1_1flyweight__coll__graph.png" border="0" usemap="#awheels_1_1dm_1_1flyweight_3_01id_type_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1dm_1_1flyweight_3_01id_type_01_4_coll__map" id="awheels_1_1dm_1_1flyweight_3_01id_type_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,183,443"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aabbb5d899c06d79bb6313ff3dd02e5bc" id="r_aabbb5d899c06d79bb6313ff3dd02e5bc"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> = typename std::map&lt; idType , <a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a> &gt;::iterator</td></tr>
<tr class="separator:aabbb5d899c06d79bb6313ff3dd02e5bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a49d29a3cd73d26b049d0b4ac62c6dccb" id="r_a49d29a3cd73d26b049d0b4ac62c6dccb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a49d29a3cd73d26b049d0b4ac62c6dccb">flyweight</a> ()</td></tr>
<tr class="separator:a49d29a3cd73d26b049d0b4ac62c6dccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54ec2b8348e9b7604c4f95d20c56cf16" id="r_a54ec2b8348e9b7604c4f95d20c56cf16"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a54ec2b8348e9b7604c4f95d20c56cf16">~flyweight</a> ()</td></tr>
<tr class="separator:a54ec2b8348e9b7604c4f95d20c56cf16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17fcf615f125a91ad49f28a8b92eb208" id="r_a17fcf615f125a91ad49f28a8b92eb208"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a17fcf615f125a91ad49f28a8b92eb208">has</a> (const idType &amp;id)</td></tr>
<tr class="memdesc:a17fcf615f125a91ad49f28a8b92eb208"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否存在指定的享元  <br /></td></tr>
<tr class="separator:a17fcf615f125a91ad49f28a8b92eb208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa4a8a1bb26896762077219548c45cb1" id="r_afa4a8a1bb26896762077219548c45cb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d54/classwheels_1_1variant.html">variant</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afa4a8a1bb26896762077219548c45cb1">get</a> (const idType &amp;name)</td></tr>
<tr class="memdesc:afa4a8a1bb26896762077219548c45cb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">修改指定的内容  <br /></td></tr>
<tr class="separator:afa4a8a1bb26896762077219548c45cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecc25a056ac2858e7ee8571e19c95245" id="r_aecc25a056ac2858e7ee8571e19c95245"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aecc25a056ac2858e7ee8571e19c95245"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#aecc25a056ac2858e7ee8571e19c95245">set</a> (const idType &amp;id, const T &amp;data)</td></tr>
<tr class="separator:aecc25a056ac2858e7ee8571e19c95245"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b18d2f2c9239ef249847effa4c34654" id="r_a4b18d2f2c9239ef249847effa4c34654"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4b18d2f2c9239ef249847effa4c34654">operator[]</a> (const idType &amp;name)</td></tr>
<tr class="separator:a4b18d2f2c9239ef249847effa4c34654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9823a13b2a62fe2f3d51724fb511fcc5" id="r_a9823a13b2a62fe2f3d51724fb511fcc5"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9823a13b2a62fe2f3d51724fb511fcc5">count</a> ()</td></tr>
<tr class="separator:a9823a13b2a62fe2f3d51724fb511fcc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21d8646f93f2c05086516d624a64a6ed" id="r_a21d8646f93f2c05086516d624a64a6ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a21d8646f93f2c05086516d624a64a6ed">erase</a> (<a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> it)</td></tr>
<tr class="separator:a21d8646f93f2c05086516d624a64a6ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be751b89eaaec26423522f8940fae5a" id="r_a9be751b89eaaec26423522f8940fae5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9be751b89eaaec26423522f8940fae5a">erase</a> (<a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> b, <a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> e)</td></tr>
<tr class="separator:a9be751b89eaaec26423522f8940fae5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93fe435fe2a7985d13bd392d17b55f7e" id="r_a93fe435fe2a7985d13bd392d17b55f7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a93fe435fe2a7985d13bd392d17b55f7e">erase</a> (const idType &amp;name)</td></tr>
<tr class="separator:a93fe435fe2a7985d13bd392d17b55f7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13fc697f56f6d01ea0efe645abd72f5" id="r_ad13fc697f56f6d01ea0efe645abd72f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad13fc697f56f6d01ea0efe645abd72f5">begin</a> ()</td></tr>
<tr class="separator:ad13fc697f56f6d01ea0efe645abd72f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a233eb9be1af2526e82bfb0ead2191117" id="r_a233eb9be1af2526e82bfb0ead2191117"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a233eb9be1af2526e82bfb0ead2191117">end</a> ()</td></tr>
<tr class="separator:a233eb9be1af2526e82bfb0ead2191117"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a7dc77d06397345dc870c14a12cddd09a" id="r_a7dc77d06397345dc870c14a12cddd09a"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7dc77d06397345dc870c14a12cddd09a">m_mutex__</a></td></tr>
<tr class="separator:a7dc77d06397345dc870c14a12cddd09a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10a14eefbe16b3a7c490b896a6c47da7" id="r_a10a14eefbe16b3a7c490b896a6c47da7"><td class="memItemLeft" align="right" valign="top">std::map&lt; idType, <a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a10a14eefbe16b3a7c490b896a6c47da7">m_itfcs__</a></td></tr>
<tr class="separator:a10a14eefbe16b3a7c490b896a6c47da7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename idType&gt;<br />
class wheels::dm::flyweight&lt; idType &gt;</div>
<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00038">38</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="aabbb5d899c06d79bb6313ff3dd02e5bc" name="aabbb5d899c06d79bb6313ff3dd02e5bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabbb5d899c06d79bb6313ff3dd02e5bc">&#9670;&#160;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::iterator = typename std::map&lt; idType , <a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a> &gt;::iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a49d29a3cd73d26b049d0b4ac62c6dccb" name="a49d29a3cd73d26b049d0b4ac62c6dccb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d29a3cd73d26b049d0b4ac62c6dccb">&#9670;&#160;</a></span>flyweight()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::flyweight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00055">55</a> 行定义.</p>

</div>
</div>
<a id="a54ec2b8348e9b7604c4f95d20c56cf16" name="a54ec2b8348e9b7604c4f95d20c56cf16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54ec2b8348e9b7604c4f95d20c56cf16">&#9670;&#160;</a></span>~flyweight()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::~<a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">flyweight</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ad13fc697f56f6d01ea0efe645abd72f5" name="ad13fc697f56f6d01ea0efe645abd72f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad13fc697f56f6d01ea0efe645abd72f5">&#9670;&#160;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::begin </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00163">163</a> 行定义.</p>

</div>
</div>
<a id="a9823a13b2a62fe2f3d51724fb511fcc5" name="a9823a13b2a62fe2f3d51724fb511fcc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9823a13b2a62fe2f3d51724fb511fcc5">&#9670;&#160;</a></span>count()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::count </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00152">152</a> 行定义.</p>

</div>
</div>
<a id="a233eb9be1af2526e82bfb0ead2191117" name="a233eb9be1af2526e82bfb0ead2191117"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a233eb9be1af2526e82bfb0ead2191117">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a> <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00164">164</a> 行定义.</p>

</div>
</div>
<a id="a93fe435fe2a7985d13bd392d17b55f7e" name="a93fe435fe2a7985d13bd392d17b55f7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93fe435fe2a7985d13bd392d17b55f7e">&#9670;&#160;</a></span>erase() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::erase </td>
          <td>(</td>
          <td class="paramtype">const idType &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00156">156</a> 行定义.</p>

</div>
</div>
<a id="a9be751b89eaaec26423522f8940fae5a" name="a9be751b89eaaec26423522f8940fae5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9be751b89eaaec26423522f8940fae5a">&#9670;&#160;</a></span>erase() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a></td>          <td class="paramname"><span class="paramname"><em>b</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a></td>          <td class="paramname"><span class="paramname"><em>e</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00155">155</a> 行定义.</p>

</div>
</div>
<a id="a21d8646f93f2c05086516d624a64a6ed" name="a21d8646f93f2c05086516d624a64a6ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21d8646f93f2c05086516d624a64a6ed">&#9670;&#160;</a></span>erase() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#aabbb5d899c06d79bb6313ff3dd02e5bc">iterator</a></td>          <td class="paramname"><span class="paramname"><em>it</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00154">154</a> 行定义.</p>

</div>
</div>
<a id="afa4a8a1bb26896762077219548c45cb1" name="afa4a8a1bb26896762077219548c45cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa4a8a1bb26896762077219548c45cb1">&#9670;&#160;</a></span>get()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d54/classwheels_1_1variant.html">variant</a> <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::get </td>
          <td>(</td>
          <td class="paramtype">const idType &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>修改指定的内容 </p>
<dl class="section note"><dt>注解</dt><dd>相对应的对象必须支持set函数</dd></dl>
<p>获取指定的名称的数据指针 </p>

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00103">103</a> 行定义.</p>

</div>
</div>
<a id="a17fcf615f125a91ad49f28a8b92eb208" name="a17fcf615f125a91ad49f28a8b92eb208"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17fcf615f125a91ad49f28a8b92eb208">&#9670;&#160;</a></span>has()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::has </td>
          <td>(</td>
          <td class="paramtype">const idType &amp;</td>          <td class="paramname"><span class="paramname"><em>id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断是否存在指定的享元 </p>

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00066">66</a> 行定义.</p>

</div>
</div>
<a id="a4b18d2f2c9239ef249847effa4c34654" name="a4b18d2f2c9239ef249847effa4c34654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b18d2f2c9239ef249847effa4c34654">&#9670;&#160;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a> <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const idType &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00130">130</a> 行定义.</p>

</div>
</div>
<a id="aecc25a056ac2858e7ee8571e19c95245" name="aecc25a056ac2858e7ee8571e19c95245"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecc25a056ac2858e7ee8571e19c95245">&#9670;&#160;</a></span>set()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::set </td>
          <td>(</td>
          <td class="paramtype">const idType &amp;</td>          <td class="paramname"><span class="paramname"><em>id</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;</td>          <td class="paramname"><span class="paramname"><em>data</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00116">116</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_cgraph.png" border="0" usemap="#ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_cgraph" alt=""/></div>
<map name="ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_cgraph" id="ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,180,32"/>
<area shape="rect" href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3" title="构建数据对象" alt="" coords="228,5,377,32"/>
<area shape="poly" title=" " alt="" coords="180,16,212,16,212,21,180,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_icgraph.png" border="0" usemap="#ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_icgraph" alt=""/></div>
<map name="ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_icgraph" id="ad5/da3/classwheels_1_1dm_1_1flyweight_aecc25a056ac2858e7ee8571e19c95245_icgraph">
<area shape="rect" title=" " alt="" coords="103,5,277,32"/>
<area shape="rect" href="../../dd/dd6/flyweight_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,5,55,32"/>
<area shape="poly" title=" " alt="" coords="87,21,55,21,55,16,87,16"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a10a14eefbe16b3a7c490b896a6c47da7" name="a10a14eefbe16b3a7c490b896a6c47da7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10a14eefbe16b3a7c490b896a6c47da7">&#9670;&#160;</a></span>m_itfcs__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; idType , <a class="el" href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a> &gt; <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::m_itfcs__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="a7dc77d06397345dc870c14a12cddd09a" name="a7dc77d06397345dc870c14a12cddd09a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dc77d06397345dc870c14a12cddd09a">&#9670;&#160;</a></span>m_mutex__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename idType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::mutex <a class="el" href="../../d5/da3/classwheels_1_1dm_1_1flyweight.html">wheels::dm::flyweight</a>&lt; idType &gt;::m_mutex__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a> 第 <a class="el" href="../../d5/d66/flyweight_8hpp_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/designM/<a class="el" href="../../d5/d66/flyweight_8hpp_source.html">flyweight.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
